const WebrtcNav = ({text,children}:{text:string,children?:React.ReactNode}) =>{
    return <>
    <h1 className='border-b-1 border-gray-300 leading-normal m-0 p-3 pl-10'>{text}
        {children && <div className='float-right text-sm'>{children}</div>}
    </h1>
    </>
}
export default WebrtcNav;